package com.mf.model.po;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.mf.annotation.TableFieldExpress;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * (Register)表实体类
 */
@Data
@Accessors(chain = true)
@SuppressWarnings("serial")
@TableName(value = "register")
@TableFieldExpress(
        hasCreateTime = true, hasUpdateTime = true
)
public class RegisterPo implements Serializable {
    private static final long serialVersionUID = -11000945001562581L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;


    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;


    /**
     * 性别 1 男 2 女
     */
    @TableField(value = "six")
    private Byte six;


    /**
     * 工作单位
     */
    @TableField(value = "work_unit")
    private String workUnit;


    /**
     * 参赛项目
     */
    @TableField(value = "entries")
    private String entries;


    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    /**
     * 身份证
     */
    @TableField(value = "id_Card")
    private String idCard;


    /**
     * 组别
     */
    @TableField(value = "group_name")
    private String groupName;


    /**
     * 证件照
     */
    @TableField(value = "photo")
    private String photo;


}

